<template>
    <div>2</div>
</template>

<script>
// import axios from 'axios'
import { test, test2 } from '@/api/demo'

export default {
  mounted () {
    // axios.defaults.withCredentials = true
    // axios.get('http://0.0.0.0:9501/hello/1', { withCredentials: true }).then(ret => {
    //    axios.get('http://0.0.0.0:9501/hello2/1', { withCredentials: true }).then(ret => {
    //
    //    })
    // })
    test().then(ret => {
      test2().then(ret => {

      })
    })
  }
}
</script>

<style scoped>

</style>
